package com.example;

import de.codecentric.boot.admin.server.config.EnableAdminServer;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @Classname MonitorApplication
 * @Description TODO
 * @Date 2022/3/24 13:57
 * @Created by XiongXiong
 * @Author: X.I.O
 */
@EnableDiscoveryClient
@SpringBootApplication
@EnableAdminServer
public class MonitorApplication {

    /**
     * 访问地址 : 127.0.0.1:8001 即可访问监控页面
     * @param args
     */
    public static void main(String[] args) {
        SpringApplication.run(MonitorApplication.class,args);
    }
}
